home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HamCall (October 1991)
/
HamCall (Whitehall Publishing)(1991).bin
/
bcast
/
bcstcble
/
ratioxfr.asc
< prev
next >
Wrap
Text File
|
1990-10-14
|
715b
|
20 lines
12000 ' TRANSFORMER WINDINGS BY GILDER AND HEIDNER
12010 CLS
12020 PRINT"Transformer windings ratio"
12030 PRINT:PRINT:PRINT:PRINT
12040 PRINT"This program calculates the turns"
12050 PRINT"ratio required for a transformer given"
12060 PRINT"the desired input and output impedances."
12070 PRINT:PRINT:PRINT:PRINT
12080 INPUT"Primary Impedance>>";Z1
12090 INPUT"Secondary Impedance>>";Z2
12100 PRINT:PRINT:PRINT:PRINT
12110 T=SQR(Z1/Z2)
12115 T=INT(10*T+.5)/10
12120 PRINT:PRINT:PRINT
12130 PRINT"The turns ratio for a transformer with"
12140 PRINT: PRINT"Primary impedance of ";Z1;" ohms"
12150 PRINT: PRINT"and Secondary impedance of ";Z2;" ohms"
12160 PRINT: PRINT"is ";T;"/1"
12170 END